package com.ych.modules.common.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.ych.modules.api.authorInfc.job.entity.AuditReceiveJobEntity;
import com.ych.modules.api.authorInfc.job.entity.QueryPersonJobEntity;
import com.ych.modules.base.dbEntity.TJobReceiveEntity;
import com.ych.modules.base.dbEntity.TUserJobEntity;
import com.ych.modules.common.entity.query.QueryReceiveJobEntity;
import com.ych.modules.common.entity.query.QueryUserJobEntity;
import com.ych.utils.mysqlPageUtil.PageUtils;

/**
 * Created with IntelliJ IDEA.
 * Author: Usopp.tsui
 * Date: 2021/3/10
 * Time: 14:29
 * Description:
 */
public interface UserJobService {
    TUserJobEntity getUserJob(String jobId);

    Page<TUserJobEntity> listUserJob(QueryUserJobEntity entity);

    void createJob(TUserJobEntity jobEntity);

    void concernJob(String jobId);

    void receiveJob(TJobReceiveEntity receiveEntity);

    void submitReceiveJob(TJobReceiveEntity receiveEntity);

    void auditReceiveJob(AuditReceiveJobEntity entity);

    PageUtils listReceiveEntity(QueryReceiveJobEntity entity);

    TJobReceiveEntity getReceiveEntity(String receiveId);

    void removeUserJob(String jobId);

    Page<TUserJobEntity> listPersonConcernJob(QueryPersonJobEntity entity);
}
